Avoid resizing GtkStatusbar if the text of the label changes (#90955, He
authorMatthias Clasen <mclasen@redhat.com>
Tue, 9 Nov 2004 05:04:41 +0000 (05:04 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 9 Nov 2004 05:04:41 +0000 (05:04 +0000)
commitb87307b91870918af9a1daa1ddd84316ec5e82b6
treee46ca170a564979069eceb5e895569b6d5391d30
parentc4183ed568e23436901eab75961cadaf1eba2b3d
Avoid resizing GtkStatusbar if the text of the label changes (#90955, He

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

Avoid resizing GtkStatusbar if the text of the label
changes  (#90955, He Qiangqiang, fix proposed by
Owen Taylor, patch by Christian Persch)

* gtk/gtklabel.[hc]: Add a boolean single-line-mode property
which causes the label height not to depend on the actual
text, but only on the font.

* gtk/gtkstatusbar.c (gtk_statusbar_init): Turn on
single-line-mode for the label.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/gtk/gtk-sections.txt
gtk/gtklabel.c
gtk/gtklabel.h
gtk/gtkstatusbar.c